/**
 * Android SOAP Enabler is free software: you can redistribute it and/or modify
 * it under the terms of the Lesser GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, 
 * or any later version.
 * 
 * Android SOAP Enabler is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the Lesser GNU General Public License
 * along with Android SOAP Enabler.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * ©2011, Android SOAP Enabler Development Team
 */
package fr.norsys.asoape.codegen.metamodel;

import java.util.List;

public interface WSDLOperation
    extends HasName
{
    public static enum Style
    {
        rpc, document;
    }

    void setStyle(Style style);

    void setInput(WSDLMessage inputMessage);
    
    void setOutput(WSDLMessage outputMessage);
    
    void addFault(WSDLMessage fault);

    Style getStyle();

    WSDLMessage getInput();
    
    WSDLMessage getOutput();

    boolean hasFaults();

    List<WSDLMessage> getFaults();
}
